atspi: Properly filter out parent actions
authorMatthias Clasen <mclasen@redhat.com>
Fri, 16 Oct 2020 01:29:37 +0000 (21:29 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 16 Oct 2020 01:32:11 +0000 (21:32 -0400)
commitab61b7b9aee2e9f794dea1e6861f0fbc2d196164
tree402eab9b0456140aa42fe9756336fee4a7b74790
parent3eae91255d2ed9a856ac8ddfa82e68b737b7f1f9
atspi: Properly filter out parent actions

We only want to show relevant, local actions for
widgets, but _gtk_widget_get_action_muxer() will
return the muxer of a parent widget (all the way
up to the toplevel), if the widget does not have
any actions of its own. To detect this situation,
compare what _gtk_widget_get_action_muxer() returns
for the parent widget, and act accordingly.
gtk/a11y/gtkatspiaction.c